package news;

public class Rss_item {

	private String title;
	private String link;
	private String des;
	private String pubdate;
	private int id;
	
	public Rss_item(){}
	public Rss_item(String title1,String link1,String des1,String pubdate1){
		this.title=title1;
		this.link=link1;
		this.des=des1;
		this.pubdate=pubdate1;
	}
	
	public Rss_item(String title1,String des1,String pubdate1){
		this.title=title1;
		this.des=des1;
		this.pubdate=pubdate1;
	}
	
	public String getDes() {
		return des;
	}
	public void setDes(String des) {
		this.des = des;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	
	public String getPubdate() {
		return pubdate;
	}
	public void setPubdate(String pubdate) {
		this.pubdate = pubdate;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return title;
	}
	
}
